Skip to main content

Map

Type

widget

Summary

A map widget for Android, iOS, 64-bit Mac, and Web.

Description

This widget wraps an MKMapView on iOS and 64-bit Mac, a GoogleMap on Android, and the GoogleMaps JavaScript API on Web. It supports simple markers and polylines.

note

In order to use the map widget on Android and Web, you must create Google Maps V2 API keys for your app, and set them in the standalone settings for the map widget via the cog icon in the Inclusions pane of the standalone settings stack.

Compatibility and Support

OS

android

ios

mac

web

Children Properties

Message

NameSummarySyntax
markerSelectedSent when a map marker is selectedmarkerSelected <pMarkerTag>
regionChangedSent when the map region changesregionChanged

Property

NameSummarySyntax
scrollEnabledWhether the scrollbar is enabledset the scrollEnabled of <widget> to { true | false } get the scrollEnabled of <widget>
zoomEnabledWhether map zoom is enabledset the zoomEnabled of <widget> to { true | false } get the zoomEnabled of <widget>
polylinesPolylines on the mapset the polylines of <widget> to <pMarkerData> get the polylines of <widget>
animateMovementWhether the movement of the map view is animated or not.set the animateMovement of <widget> to { true | false } get the animateMovement of <widget>
regionThe region displayed by the mapset the region of <widget> to <pRegion> get the region of <widget>
centerCoordinatesThe coordinates at which the map view is centered.set the centerCoordinates of <widget> to <pCoordinates> get the centerCoordinates of <widget>
showsUserLocationWhether to show the user's current locationset the showsUserLocation of <widget> to { true | false } get the showsUserLocation of <widget>
spanThe extent of the map displayed by the widget.set the span of <widget> to <pSpan> get the span of <widget>
markersMarker points on the mapset the markers of <widget> to <pMarkerData> get the markers of <widget>
Thank you for your feedback!

Was this page helpful?